<?php
require_once '../../controller.php';
require_once '../../header.php';
require_once '../../classes/Response.php';
?>

<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  
  
  <!--
  
 <script>
  $(document).ready(function() {
	  $("#datepicker").datepicker();
	  $.datepicker.formatDate('yy-mm-dd',new Date(2007, 1 - 1, 26));
    
  });
  </script>


-->

<script>
function pickdate(name){
	var name= name;
var date_element = document.getElementsByName(name);
 date_element.datepicker();
}

</script>

<form name="date" method="post">
<input type="text" name= 'date' id="datepicker" onblur="pickdate('date');" size="10px"  >
<input type="submit" name='set_date' value='Set Date'>
</form>-->

<a onclick="close_popup();"><font color="blue"><u>Close</u></font></a>

<select>
<option selected="selected"> </option>
</select>

<?php

if(isset($_POST['set_date'])){

?>

<?php 	
	print $_POST['date'];
}


$string = "response_check3_11";
$t = "response_check4_1";


$s1 = explode("_",$string);
$s2 = explode("_",$t);

if($s1[2]==$s2[2]){
	echo "same";
}else{
	echo"diffrent";
}

	echo "<div class='clear'></div>";	
 			
require_once '../../footer.php';				
?>

